package com.ruoyi.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * OSS对象存储对象 sys_oss
 *
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_oss")
public class SysOssDo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 对象存储主键
     */
    @TableId(value = "oss_id")
    private Long ossId;
    /**
     * 文件名
     */
    @TableField(value = "file_name")
    private String fileName;
    /**
     * 原名
     */
    @TableField(value = "original_name")
    private String originalName;
    /**
     * 文件后缀名
     */
    @TableField(value = "file_suffix")
    private String fileSuffix;
    /**
     * URL地址
     */
    @TableField(value = "url")
    private String url;
    /**
     * 服务商
     */
    @TableField(value = "service")
    private String service;

}
